package org.lucky_common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_invite_code")
public class InviteCode extends Model<InviteCode> {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField("inviteId")
    private Long inviteId;
    @TableField("luckyShareId")
    private Long luckyShareId;
    @TableField("inviteCode2")
    private String inviteCode2;
}
